home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 01d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-08  |  1.6 KB  |  62 lines

  1. on startMovie
  2.   global qtChan, gKnobSprite, gSendMovie
  3.   puppetSprite(48, 1)
  4.   gKnobSprite = 43
  5.   gSendMovie = "01d"
  6.   setUpKnob()
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   preLoad(qtChan - 1)
  10.   set the mouseDownScript to EMPTY
  11.   set the mouseUpScript to EMPTY
  12.   sprite(30).visible = 0
  13. end
  14.  
  15. on idle
  16.   global gCursorReady
  17.   if gCursorReady = 1 then
  18.     cursor(200)
  19.     checkCursors()
  20.     set the locH of sprite 48 to the mouseH
  21.     set the locV of sprite 48 to the mouseV
  22.     updateStage()
  23.   end if
  24. end
  25.  
  26. on checkCursors
  27.   global gMagCursor
  28.   set the castNum of sprite 48 to the number of member "curs1"
  29.   if rollOver(5) then
  30.     set the castNum of sprite 48 to the number of member "hotCursor"
  31.   end if
  32.   if rollOver(6) then
  33.     set the castNum of sprite 48 to the number of member "curs1"
  34.   end if
  35.   if rollOver(42) then
  36.     set the castNum of sprite 48 to the number of member "hotCursor"
  37.   end if
  38.   repeat with i = 5 to 9
  39.     if rollOver(i) then
  40.       set the castNum of sprite 48 to the number of member "hotCursor"
  41.     end if
  42.   end repeat
  43.   repeat with i = 12 to 29
  44.     if rollOver(i) then
  45.       set the castNum of sprite 48 to the number of member "hotCursor"
  46.     end if
  47.   end repeat
  48.   repeat with i = 34 to 35
  49.     if rollOver(i) then
  50.       set the castNum of sprite 48 to the number of member "hotCursor"
  51.     end if
  52.   end repeat
  53.   if rollOver(33) or rollOver(40) or rollOver(41) then
  54.     set the castNum of sprite 48 to the number of member "hotCursor"
  55.   end if
  56.   repeat with i = 44 to 47
  57.     if rollOver(i) then
  58.       set the castNum of sprite 48 to the number of member "hotCursor"
  59.     end if
  60.   end repeat
  61. end
  62.